import request from '@/utils/request'
import { CategoryVo } from './type'
// 分类

const api = '/v1/category'
export const listCategoryVos = (): Result<CategoryVo[]> => {
  return request({
    url: `${api}/listVo`,
    method: 'get'
  })
}
